post /vms/{vmId}/operations/canceldetach

Cancel Detach (cancelDetach)

Once the VM is detached (and when the VM is showing as Ready for Detach) and for some reason you wish to go back to use the Velostrata cache, you can stop or cancel the detach process. This deletes the AWS EBS or Azure storage, and moves the system back to the state it was before the detach started - fully cached. In vSphere the menu option is Cancel Detach. Note - Potential data loss may occur if the VM disks were changed when the VM was already in "Detached" state and the VM wrote on the native disks. You cannot rollback if you have run the detach cleanup.

Path parameters

vmId (required)

Path Parameter — Virtual machine ID

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Return type

TaskId

value (optional)

String Entity ID

_type

String Task ID

Enum:

TaskId

Example data

Content-Type: application/json

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

201

Created TaskId

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String